/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.activity.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeeplus.common.persistence.CrudDao;
import com.jeeplus.common.persistence.annotation.MyBatisDao;
import com.jeeplus.modules.activity.entity.Activity;
import com.jeeplus.modules.activity.entity.ActivityEchartDto;

/**
 * 活动管理DAO接口
 * @author lw
 * @version 2018-01-14
 */
@MyBatisDao
public interface ActivityDao extends CrudDao<Activity> {

	public void updateProcessNode(Activity activity);

	public void updateFilePath(Activity activity);
	
	public List<ActivityEchartDto> echartViewData(@Param(value="officeId") String officeId);
	
	public List<ActivityEchartDto> echartViewAllData();
	
	public  List<ActivityEchartDto> selectYears();
	
	public List<ActivityEchartDto> echartAllViewData();
	
}